namespace FwkLight.Web.UserSession
{
  public enum MessageType
  {
    Success,
    Error
  }

  public class FlashMessage
  {
    private readonly MessageType _type;
    private readonly string _message;

    public FlashMessage ( MessageType type, string message )
    {
      _type = type;
      _message = message;
    }

    public MessageType Type
    {
      get { return _type; }
    }

    public string Message
    {
      get { return _message; }
    }

  }
}